import Vue from 'vue'
import VueRouter from 'vue-router'

import Login from '../views/login'
import Main from '../views/Main'

Vue.use(VueRouter);

export default new VueRouter({
	routes:[
		{
			path:'/login',
			name:"login",
			component: Login
		},{
			path:'/main',
			name:"main",
			component: Main
		}
	]
});
